package com.ljh.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ljh.pojo.Collection;
import com.ljh.vo.CollectionSongVo;

import java.util.Date;
import java.util.List;

public interface CollectionService extends IService<Collection> {

    public List<Collection> findCollection();

    public CollectionSongVo findCollSong(Integer id);

    public List<Collection> findCollByUserId(Integer userId);

    public void deleteCollByUserId(Integer userId);

    public void deleteCollById(Integer collId);

    public void updateListPhoto(String collPhoto,Integer collId);

    public Collection findCollById(Integer id);

    public void insertCollection(String collName, String collDate, Integer singerId, String singerName);

    public void updateColl(String collName,String singerName,String collDate,Integer collId);
}
